package com.atl.enity.web.vo;

import com.atl.common.PageRequest;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: 临晖
 * @since: 2024-06-26
 */

@Data
public class AdvertisementListVO extends PageRequest {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "广告名称")
    private String adName;

    @ApiModelProperty(value = "广告类型")
    private String adType;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "广告开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime displayPeriodStart;

    @ApiModelProperty(value = "广告结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime displayPeriodEnd;

    @ApiModelProperty(value = "广告描述")
    private String displayPosition;

    @ApiModelProperty(value = "广告链接")
    private String jumpLink;



}
